/*** fichier utilisé dans toutes les rubriques et pour la structure générale ***/
* {
    --main-height: auto;
    --main-width: 100%;

    --color-I: #A79D99;
    --color-II: #A2C037;
    --color-III: #58C3EB;
    --color-IV: #5E7C92;
}

html, body {
    height: var(--main-height);
    width: var(--main-width);
    margin: 0;
    padding: 0;
    touch-action: none;
}

body {
    display: flex;
    flex-direction: column;
/* 
    transform: scale(0.5);
    transform-origin: top left; */
}

p, h1, h2, h3 {
    margin: 0;
}

.animation-hide {
    opacity: 1;
    transition: opacity 100ms linear;
}

.animation-hide.hidden {
    opacity: 0;
    pointer-events: none !important;
}

.pagination {
    width: fit-content;
    min-width: 220px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.pagination p {
    font-size: 21px;
    font-family: 'Josefin Sans';
    text-transform: uppercase;

    color: #5E7C92;

    margin: 0px auto;
}

.pagination img {
    cursor: pointer;
}

.media-controls.white .pagination img:first-of-type,
.pagination.white img:first-of-type {
    content: url('../img/ico-left-white.svg');
}
.media-controls.white .pagination img:last-of-type,
.pagination.white img:last-of-type {
    content: url('../img/ico-right-white.svg');
}
.media-controls.white .pagination p,
.pagination.white p {
    color: #EDF4F5;
}

.media-container .media-controls.gray .video-controls img {
    content: url('../img/ico-play-gray.svg')
}

.media-container .media-controls.gray .video-controls.play img {
    content: url('../img/ico-pause-gray.svg')
}

.pagination-transition {
    transition: transform 200ms ease-in-out;
}

.rubrique-main {
    height: auto;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

header {
    height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer {
    height: 45px;

    margin-top: auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background-color: #3E3E3E;
    cursor: pointer;
}

footer p {
    font-size: 20px;
    font-family: 'Josefin Sans';
    font-weight: 300 /* light */;

    color: white;
}

.bg-color-I { background-color: var(--color-I); }
.bg-color-II { background-color: var(--color-II); }
.bg-color-III { background-color: var(--color-III); }
.bg-color-IV { background-color: var(--color-IV); }

button {
    border: none;

    cursor: pointer;
}

.main-loader {
    height: var(--main-height);
    width: var(--main-width);

    position: absolute;

    box-sizing: border-box;

    padding: 10px;

    display: flex;
    flex-direction: column;

    align-items: flex-end;

    pointer-events: none;

}